package com.css.fxfzdpzs.modules.hddc.scheduled;


import com.css.fxfzdpzs.modules.hddc.service.HddcService;
import com.css.fxfzdpzs.modules.xczh.service.XczhService;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * @author y1fan
 * @description
 */
@Component
public class HddcScheduled {

    @Resource
    HddcService hddcService;

//    @Scheduled(cron ="0 0/1 * * * ?")
    public void fxpgData() {
        hddcService.dataSync();
    }
}
